﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xugege.AbpExtension.Com.Dto
{
    public class AppResponseDto<T> where T : class, new()
    {
        public string Message { get; set; }

        public T Data { get; set; }

        public bool Success {
            get;
            set;
        }
        public string Code { get; set; }
        public AppResponseDto()
        {
            Message = "操作成功";
            Success = true;
            Data = null;
        }
    }

    public class AppResponseDto
    {

        public AppResponseDto()
        {
            Message = "操作成功";
            Success = true;
            Data = null;
        }

        public string Message { get; set; }

        public Object Data { get; set; }

        public bool Success
        {
            get;
            set;
        }
        public string Code { get; set; }

    }
}
